﻿/*
 * Copyright (C) 2010 The MobileSecurePay Project
 * All right reserved.
 * author: shiqun.shi@alipay.com
 * 
 *  提示：如何获取安全校验码和合作身份者id
 *  1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *  2.点击“商家服务”(https://b.alipay.com/order/myorder.htm)
 *  3.点击“查询合作者身份(pid)”、“查询安全校验码(key)”
 */

package com.hcinfos.gsoo.pay;

//
// 请参考 Android平台安全支付服务(msp)应用开发接口(4.2 RSA算法签名)部分，并使用压缩包中的openssl RSA密钥生成工具，生成一套RSA公私钥。
// 这里签名时，只需要使用生成的RSA私钥。
// Note: 为安全起见，使用RSA私钥进行签名的操作过程，应该尽量放到商家服务器端去进行。
public final class Keys {

	// 合作身份者id，以2088开头的16位纯数字
	
	public static final String DEFAULT_PARTNER = "2088111009676304";

	// 收款支付宝账号
	public static final String DEFAULT_SELLER = "xuwei@yaoweigroup.com";
	// 商户私钥，自助生成
	public static final String PRIVATE = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAM18zYR22i2USUrHhRttc9s0X6aXzJlFoFXJ+exGhZse1M4l/y2vxDc6AwiNqfuAUYBo9wJqJ1LbfwWo+IH3guKshP09gsOB/eRkdHMS91kBfXzk6/0Qmh8oXHg1QBGC1B5b6NMCe0Riohurv1W5RjP+A0P5fNyqsrgp35DSq+hbAgMBAAECgYBzbmtIwTc4qXcukbwdNzQA7H/a5qUhaLJz3r0NVGRTSlOC5mddc8JGv8jacjINvPyLpOs1KQqkCfdl55CJ+c9EorErUP9eP/ywbXswOkC2Y4WX39oATFkEUAlrG/+Qhp6lSYOcW+VsB76f00w2Holy2dqAak76/xIWH/iMtINqAQJBAOeAryTuzzvgri5MIZhbI1UGsimwfyorniOJThs5O+RdK1WmNdmY0X3QbAtoqPKVLGfeKfQZZfN4ZhkrRMwfBwECQQDjO2DSNXV0/wz9KSllEzXqWhrunvonM/vujdeWGL5WNvK+xSKwFi2EBrJt4BrMk8zzbuKmcKxyTyqWuZdKt2tbAkAmj0Sc/jn+Wzon8/5UhjmoW+kpEIDd4U4B1UjxN+NF8k7ZgUnO6KlcL28Pp2scnMQ8uMB8LA7TMuauoopfBXwBAkEAs2erLux0OxYwDCUWgK3lMI1JnEK6YH9jllo471HD3U/u4f3FQF+SOh4LfEKnBgRfmYdfvWdST8H/bxdCwwQD5wJAHVprHhXn1UIAkgWkZNy0Xa0vBdFE64VmYW8fllUCvTNafJIzVi19aoDPyyhl3HOD0IzmaehVetOM+LEeD35l0Q==";

	// 商户私钥，自助生成
	//public static final String PRIVATE = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAL44YK6HATAUiRqnVZ+sAKWj1ScLMXifjfRejS1Yd0Cp+rN6/KCnyn+gN6QoIMmpm6mHq4YscrZcoUBGUgzMpXrh1MehKV0DsuMvEK7eGpdPNCj5HdirRzBTGZe1IHobKan2ghQVeGCPV1rC9b824lYrhPjqntyeC7N9zxTDvFu7AgMBAAECgYEAqJjBoI8KT3o0FwqvioliPW3bk/KI05ffsvNHACUD9a1zBjeAyEhP5BS2nGnwvaz1yin0rkShG984EQcC3FNaaunBNH/xcQV7xMxzLRPGB7SGPayjYhBkYk7KExerWSAfKVhydvMzwQ8AGuyQB8RvTJEFupuAcWVHGELV53gk+2kCQQDzfgqWrj8+PIwKmv5fTT5F+J70vtxOYElNqVP6wqh+cCy0M4o2bRKHminTiiNgIwkgHgxl7qLIV3BBGzLjbumvAkEAx/3M5bdqX3afCArVwP0deZbqsY0PTlNPxlkYtertyicMvtCfpOtMd33BJyY8/WXhFJOVYOSdUuESj2KU6dDNtQJABiJPu/oJx9SYpo+/BsGYZwTbZEkGncbZMeapIfETc5P53FRMEBDxXY8prJWXTI21ZiS7pTm8yhVB07IOtyINKwJAYG+gB/1jy9i1YvlmjYMAXYtKbIdqpAhEZY68/avlMh+WY8TR1oKoAs6e/zPPIRmpaXSpCWnz+u0ROBb/W6gWKQJBANAcZHqQo9wcTFmK5Djg88Sosl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